package com.hardydou.data.mapper;

import com.hardydou.data.model.Film;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface FilmMapper {
    int deleteByPrimaryKey(Long resId);

    int insert(Film record);

    int insertSelective(Film record);

    Film selectByPrimaryKey(Long resId);

    int updateByPrimaryKeySelective(Film record);

    int updateByPrimaryKeyWithBLOBs(Film record);

    int updateByPrimaryKey(Film record);

    List<Film> list(Map params);

    String selectInfoById(Long resId);
}